﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Core.Domain.Customers;

namespace Shop.Core.Domain.Orders
{
    public class ShoppingCart
    {
        protected IList<ShoppingCartItem> products = null;

        public virtual IList<ShoppingCartItem> Products
        {
            get
            {
                return this.products ?? (this.products = new List<ShoppingCartItem>());
            }
            set
            {
                this.products = value;
            }
        }

        public virtual Customer Customer
        {
            get;
            set;
        }
    }
}
